package com.xyht.sca_s.student_manage_system.modules.scheduleManagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.scheduleManagement.entity.SmsSchedule;
import com.xyht.sca_s.student_manage_system.modules.scheduleManagement.entity.req.SmsScheduleDeleteReq;
import com.xyht.sca_s.student_manage_system.modules.scheduleManagement.entity.req.SmsScheduleReadReq;
import com.xyht.sca_s.student_manage_system.modules.scheduleManagement.entity.req.SmsScheduleReq;
import com.xyht.sca_s.student_manage_system.modules.scheduleManagement.entity.req.SmsScheduleUpdateReq;

import java.util.Date;
import java.util.List;
import java.util.concurrent.Future;

/**
 * <p>
 * 日程表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-08-14
 */
public interface SmsScheduleService extends IService<SmsSchedule> {
    Future<ResponseResult> addSchedule(SmsScheduleReq smsScheduleReq, String user_id);
    ResponseResult getScheduleListByTimeRange(Date bg_date, Date end_date, List<String>  subscribe_user, String user_id);
    ResponseResult getScheduleDetail(String schedule_id);
    Future<ResponseResult>  updateSchedule(SmsScheduleUpdateReq smsScheduleReq, String user_id);
    Future<ResponseResult>  deleteSchedule(SmsScheduleDeleteReq smsScheduleReq, String user_id);
    ResponseResult scheduleRead(SmsScheduleReadReq smsScheduleReq, String user_id);
}
